package cn.sfrog.project.biz.web.vo.websocket;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


@Data
@ApiModel(description = "聊天会话返回VO")
public class AppLastMessageResultVO {



    @ApiModelProperty("最新消息")
    private String lastMessage;

    @ApiModelProperty("消息类型【1=文字 2=图片 3=文件】")
    private String type;

    @ApiModelProperty("最新消息发送时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
